import { request } from "./request";

export function getSellslistdata(query, pagenum, pagesize) {
  return request({
    url: "/api/sells",
    params: {
      query,
      pagenum,
      pagesize
    },
    method: "get"
  });
}

export function getAddSellssdata(username, password, email, mobile) {
  return request({
    url: "/api/addusers",
    method: "post",
    data: {
      username,
      password,
      email,
      mobile
    }
  });
}
